package com.kettle.service.quart;

import java.util.List;
import java.util.Map;

import org.springframework.scheduling.quartz.QuartzJobBean;

public interface QuartzNewService {

	void deleteJob(String jobName, String jobGroupName);

	void pauseJob(String jobName, String jobGroupName);

	void resumeJob(String jobName, String jobGroupName);

	void runAJobNow(String jobName, String jobGroupName);

	List<Map<String, Object>> queryAllJob();

	List<Map<String, Object>> queryRunJob();

	void updateJob(String jobName, String jobGroupName, String jobTime);

	void addJob(Class<? extends QuartzJobBean> jobClass, String jobName, String jobGroupName, String jobTime,
			Map jobData);

	void addJob(Class<? extends QuartzJobBean> jobClass, String jobName, String jobGroupName, int jobTime, int jobTimes,
			Map jobData);

}
